<html>
	
	<!-- 
			IMPORTANT
			
			To setup the title of the page use find/replace, 
			and replace 'Your Title Here' by the html text of your title
			
			To setup the link which make the page return the the with-frame content
			use find/replace and replace 'YourFileNameHere' by the 
	-->
	
	<head>
		<title>lowRA Assembler Reference - LowRA API Documentation</title>
		<link rel="stylesheet" href="../style.css" type="text/css" media="screen" />
		<link rel="stylesheet" href="../print.css" type="text/css" media="print" />
        <link rel="stylesheet" href="../prettify.css" type="text/css"  />
		<script language="javascript" type="text/javascript" src="../asdoc.js"></script>
		<script type="text/javascript" language="javascript" src="../prettify.js"></script>

	</head>
	<body>
		<script type="text/javascript" language="javascript">
		<!--
			asdocTitle = 'LowRA Assembler Reference - LowRA API Documentation';
			var baseRef = '../';
			window.onload = configPage;
		--></script>
		
		<table id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
			<tr>
			
				<td align="left" class="titleTableTitle">LowRA API Documentation</td>
				<td align="right" class="titleTableTopNav">
                	<a 	onclick="loadClassListFrame('../all-classes.html')" 
					   	href="../annexes.html">Annexes</a>&nbsp;|&nbsp;
					<a 	onclick="loadClassListFrame('../all-classes.html')" 
					   	href="../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;
					<a 	onclick="loadClassListFrame('../all-classes.html')" 
						href="../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;
					<a 	onclick="loadClassListFrame('../index-list.html')" 
						href="../all-index-A.html">Index</a>&nbsp;|&nbsp;
					<a 	href="../index.html?howto/reference-assembler.html&amp;all-classes.html" id="framesLink1">Frames</a>
					<a 	onclick="parent.location=document.location" 
						href="" 
						style="display:none;" 
						id="noFramesLink1">No&nbsp;Frames</a>
				</td>
				<td rowspan="3" align="right" class="titleTableLogo">
					<img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../images/logo.jpg">
				</td>
			</tr>
			<tr class="titleTableRow2">
				<td align="left" id="subTitle" class="titleTableSubTitle">
					LowRA Assembler Reference
				</td>
				<td class="titleTableSubTitle">&nbsp;</td>			
			</tr>
			<tr class="titleTableRow3">
				<td colspan="2">&nbsp;</td>
			</tr>
		</table
		
		
		><script type="text/javascript" language="javascript">
		<!--
		if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) 
		{
			titleBar_setSubTitle("LowRA Assembler Reference");
			
			titleBar_setSubNav(false,	false,	   false,
							   false,   false,	   false,
							   false,   false,	   false,
							   false,   false,	   false,
							   false,   false
							   );
		}
		--></script>
		
<div class="MainContent">


<h1>Summary</h1>

<ol>
	<li><a href="#overview">Overview</a></li>
	<li><a href="#conventions">Conventions</a></li>
	<li><a href="#list">Nodes and Attributes list</a></li>
	<li><a href="#nodes-details">Nodes details</a></li>
	<li><a href="#examples">Examples</a></li>
</ol>

<p>
	
</p>

<hr/>

<p>
	
</p>

<a name="overview"></a>
<h1>Overview</h1>
<p>
	You will find below the various types of nodes allowed inside
the file defining the context ( applicationContext.xml ) for LowRA IoC.
</p>

<!--*****************************************************************************
		 Formal Convention 
*****************************************************************************-->

<a name="conventions"></a>
<h1>Conventions :</h1> 
<ul>
	<li><code>&lt;foo&gt;</code> : A node of type <code>foo</code> such as : 
	<div class="listing"><pre class="prettyprint">&lt;foo&gt;
	Some content in the node
&lt;/foo&gt;</pre></li>
	<li><code>&lt;%custom%&gt;</code> : A node where <code>%custom%</code> is the user
	defined node name. It means that the node name is only significant for the user,
	the assembler will use attributes of the node instead of the node name.
	<p>Example, the two following declarations produce the same result : </p>
	<div class="listing"><pre class="prettyprint">&lt;plugin id="somePlugin" type="MyPluginClass" /&gt;</pre></div>
	<div class="listing"><pre class="prettyprint">&lt;object id="somePlugin" type="MyPluginClass" /&gt;</pre></div></li>
	<li><code>@foo</code> : A node attribute called <code>foo</code> 
	such as :
	 <div class="listing"><pre class="prettyprint">&lt;node foo="some value" /&gt;</pre></div>
	The <code>@</code> prefix only means that the name refer to a node attribute.
	</li>
	<li><code>#foo</code> : Refer to the id <code>foo</code> such as :
	<div class="listing"><pre class="prettyprint">&lt;node id="foo" /&gt;</pre>
	The <code>#</code> prefix only means that the name refer to the value of the 
	id attribute of a node.</li>
	<li><code>Foo</code> : Refer to class name <code>Foo</code>.</li>
</ul>

<!--*****************************************************************************
		 Nodes and Attributes list 
*****************************************************************************-->

<hr/>
<a name="list"></a>
<div class="summaryTableTitle">Nodes and Attributes list</div>

<table class="summaryTable" cellpadding="3" cellspacing="0">
	<tbody>
<!--*****************************************************************************
		 Nodes description 
*****************************************************************************-->
		<tr>
			<th><a name="nodes">&nbsp;</a></th>
			<th width="15%">Nodes</th>
			<th width="25%">Context</th>
			<th width="60%">Description</th>
		</tr>
<!-- 
	<application-loader> 
-->
		<tr class="row1">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				<a href="#application-loader">&lt;application-loader&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				<a href="#beans">&lt;beans&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				Defines the loader view used to display the assembler process (only one occurence).
			</td>
		</tr>
		
<!-- 
	<argument> 
-->		

		<tr class="row0">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				<a href="#argument">&lt;argument&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				<a href="#custom">&lt;%custom%&gt;</a>,
				<a href="#method-call">&lt;method-call&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				Creates a new argument for a function call or a class constructor.
			</td>
		</tr>
<!-- 
	<beans> 
-->			
		<tr class="row1">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				<a href="#beans">&lt;beans&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				XML file root node
			</td>
			<td class="summaryTableLastCol">
				Required root node for the application context file (only one occurence). 
			</td>
		</tr>
<!-- 
	<%custom%> 
-->			
		<tr class="row0">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				<a href="#custom">&lt;%custom%&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				<a href="#beans">&lt;beans&gt;</a>,
				<a href="#custom">&lt;custom&gt;</a>,
				<a href="#root">&lt;root&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				The node name has no meaning in this case, it creates
				an new entity of the specified <code>@type</code> and
				identified with the specified <code>@id</code>. When
				child of the <code>&lt;root&gt;</code> node it will
				be considered as part of the display list, nested
				<code>&lt;%custom%&gt;</code> children are also allowed. 
			</td>
		</tr>
<!-- 
	<dll> 
-->			
		<tr class="row1">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				<a href="#dll">&lt;dll&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				<a href="#beans">&lt;beans&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				Loads the specified *.swf file as a Dynamically Loaded Library (dll).
			</td>
		</tr>
<!-- 
	<include> 
-->	
		<tr class="row0">
		  <td class="summaryTablePaddingCol">&nbsp;</td>
		  <td class="summaryTableSecondCol"><a href="#rsc">&lt;rsc&gt; </a></td>
		  <td class="summaryTableLastCol"><a href="#beans">&lt;beans&gt;</a></td>
		  <td class="summaryTableLastCol"> Loads the specified  file as a application resource. </td>
	  </tr>
		<tr class="row1">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				<a href="#include">&lt;include&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				<a href="#beans">&lt;beans&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				Loads a context file and add its content to the current application context
			</td>
		</tr>
<!-- 
	<item> 
-->	
		<tr class="row0">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				<a href="#item">&lt;item&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				<a href="#custom">&lt;%custom% type="Dictionary"&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				Defines an entry in a <code>Dictionary</code>.
			</td>
		</tr>
<!-- 
	<key> 
-->	
		<tr class="row1">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				<a href="#key">&lt;key&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				<a href="#item">&lt;item&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				Defines the key of the <code>&lt;item&gt;</code> parent note.
			</td>
		</tr>
<!-- 
	<listen> 
-->			
		<tr class="row0">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				<a href="#listen">&lt;listen&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				<a href="#custom">&lt;%custom%&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				Sets the <code>&lt;%custom%&gt;</code> parent node listening
				to the specified <code>@ref</code>.
			</td>
		</tr>
<!-- 
	<method-call> 
-->			
		<tr class="row1">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				<a href="#method-call">&lt;method-call&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				<a href="#custom">&lt;%custom%&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				Calls a method of the <code>&lt;%custom%&gt;</code>
				parent node.
			</td>
		</tr>
		<tr class="row0">
		  <td class="summaryTablePaddingCol">&nbsp;</td>
		  <td class="summaryTableSecondCol"><a href="#preprocessor">&lt;preprocessor&gt;</a></td>
		  <td class="summaryTableLastCol"><a href="#beans">&lt;beans&gt;</a></td>
		  <td class="summaryTableLastCol"> Defines the value of the <code>&lt;item&gt;</code> parent note. </td>
	  </tr>
<!-- 
	<property> 
-->			
		<tr class="row1">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				<a href="#property">&lt;property&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				<a href="#custom">&lt;%custom%&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				Sets the initial value of the specified property
				of the <code>&lt;%custom%&gt;</code> parent node.
			</td>
		</tr>
<!-- 
	<root> 
-->			
		<tr class="row0">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				<a href="#root">&lt;root&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				<a href="#beans">&lt;beans&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				Defines the root node for the graphics structures (only one occurence).
				All children of the <code>&lt;root&gt;</code> nodes will be considered
				as part of the display list.
			</td>
		</tr>
<!-- 
	<value> 
-->			
		<tr class="row1">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				<a href="#value">&lt;value&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				<a href="#item">&lt;item&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				Defines the value of the <code>&lt;item&gt;</code> parent note.
			</td>
		</tr>
	  <!--*****************************************************************************
		 Attributes description 
*****************************************************************************-->
		
		<tr>
			<th><a name="attributes">&nbsp;</a></th>
			<th>Attributes</th>
			<th>Context</th>
			<th>Description</th>
		</tr>
<!-- 
	built-callback
-->	
	  <!-- 
	delay
-->		
		<tr class="row0">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				delay
			</td>
			<td class="summaryTableLastCol">
				<a href="#method-call">&lt;method-call&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				Delay the call of the method with the amount of the attribute
				value in milliseconds.
			</td>
		</tr>
<!-- 
	deserializer-class
-->	
		<tr class="row1">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				deserializer-class
			</td>
			<td class="summaryTableLastCol">
				<a href="#custom">&lt;%custom% type="XML"&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				Defines the concret deserializer class to use for parse the
				node content.
			</td>
		</tr>
<!-- 
	factory
-->		
		<tr class="row0">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				factory
			</td>
			<td class="summaryTableLastCol">
				<a href="#custom">&lt;%custom%&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				Defines the factory method to call when creating the object
				defined by this <code>&lt;%custom%&gt;</code> node.
			</td>
		</tr>
<!-- 
	id
-->	
		<tr class="row1">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				id
			</td>
			<td class="summaryTableLastCol">
				<a href="#custom">&lt;%custom%&gt;</a>,
				<a href="#root">&lt;root&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				Defines the identifier of this node in the beans 
				namespace. You can use the <code>@id</code> of an
				object in all nodes which provide a <code>@ref</code>,
				it will	return a reference to the object identified
				by <code>@id</code>.
			</td>
		</tr>
<!-- 
	methodk
-->		
	<!-- 
	name
-->		
		<tr class="row0">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				name
			</td>
			<td class="summaryTableLastCol">
				<a href="#method-call">&lt;method-call&gt;</a>,
				<a href="#property">&lt;property&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				Sets the name of the property or method of an object.
			</td>
		</tr>	
<!-- 
	name-callback
-->	
	  <!-- 
	progress-callback
-->	
	  <!-- 
	ref
-->	
		<tr class="row1">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				ref
			</td>
			<td class="summaryTableLastCol">
				<a href="#argument">&lt;argument&gt;</a>,
				<a href="#listen">&lt;listen&gt;</a>,
				<a href="#key">&lt;key&gt;</a>,
				<a href="#property">&lt;property&gt;</a>,
				<a href="#value">&lt;value&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				Gets and return the entity of the beans namespace which
				<code>@id</code> is	equals to <code>@ref</code> value.
			</td>
		</tr>

<!-- 
	root-ref
-->	
		<tr class="row0">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				root-ref
			</td>
			<td class="summaryTableLastCol">
				<a href="#include">&lt;include&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				Defines the object considered as the root object
				for graphical structures of an included file.
			</td>
		</tr>
			
<!-- 
	singleton-access
-->	
		<tr class="row1">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				singleton-access
			</td>
			<td class="summaryTableLastCol">
				<a href="#custom">&lt;%custom%&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				Defines the name of the function which return the
				singleton instance of a class. Used when <code>@factory</code>
				is defined.
			</td>
		</tr>

<!-- 
	timeout-callback
-->	
	  <!-- 
	type
-->	
		<tr class="row0">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				type
			</td>
			<td class="summaryTableLastCol">
				<a href="#argument">&lt;argument&gt;</a>,
				<a href="#custom">&lt;%custom%&gt;</a>,
				<a href="#key">&lt;key&gt;</a>,
				<a href="#property">&lt;property&gt;</a>,
				<a href="#value">&lt;value&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				Classpath which defines the type of the entity.
			</td>
		</tr>

<!-- 
	url
-->	
		<tr class="row1">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				url
			</td>
			<td class="summaryTableLastCol">
				
				<a href="#application-loader">&lt;application-loader&gt;</a>,
				<a href="#custom">&lt;%custom%&gt;</a>,
				<a href="#dll">&lt;dll&gt;</a>,
				<a href="#include">&lt;include&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				URL of the file to load according to the node type.
			</td>
		</tr>

<!-- 
	value
-->	
		<tr class="row0">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				value
			</td>
			<td class="summaryTableLastCol">
				<a href="#argument">&lt;argument&gt;</a>, 
				<a href="#custom">&lt;%custom%&gt;</a>, 
				<a href="#key">&lt;key&gt;</a>,
				<a href="#property">&lt;property&gt;</a>,
				<a href="#value">&lt;value&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				Defines the value carried by the node, if <code>@type</code>
				is defined <code>@value</code> is cast to <code>@type</code>.
			</td>
		</tr>

<!-- 
	visible
-->	
		<tr class="row1">
			<td class="summaryTablePaddingCol">&nbsp;</td>
			<td class="summaryTableSecondCol">
				visible
			</td>
			<td class="summaryTableLastCol">
				<a href="#custom">&lt;%custom%&gt;</a>
			</td>
			<td class="summaryTableLastCol">
				Sets a <code>&lt;root&gt;</code> child visible on the screen
				at creation.
			</td>
		</tr>
	</tbody>
</table>

<!--*****************************************************************************
		Node Details
*****************************************************************************-->

<a name="nodes-details"></a>
<div class="summaryTableTitle">Nodes details</div>
<hr/>

<!--
	<application-loader>
-->
<a name="application-loader"></a>
<div class="detailSectionHeader">&lt;applicationloader&gt;</div>
<p></p>

<p>
	Defines the loader view used to display the assembler process (only one occurence).
The <code>&lt;applicationloader&gt;</code> allow designer and developer to simply add and
handle loading and assembling states to display the progress. The *.swf file specified in 
the <code>@url</code> is loaded and callbacks methods are then called directly on the root
of the file. 
	This file could be a simple file with timeline function and all graphics
directly on stage or a full AS3 file. All the process performed by the assembler will
be send to the provided method in the node attributes. Only events defined by an attribute
are dispatched to the loader instance.
</p>

<span class="label">Context</span>
<p>
	<a href="#beans">&lt;beans&gt;</a>
</p>

<span class="label">Children</span>
<p>
	No
</p>

<span class="label">Cardinality</span>
<p>
	0 - 1
</p>

<span class="label">Attributes</span>
<p>
<table border="0" cellpadding="4" cellspacing="0" width="100%"><tbody>
<tr class="row0">
  <td></td>
  <td><span class="label">url</span></td>
  <td>URL of the *.swf file.</td>
</tr>
<tr class="row1">
  <td></td>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
</tr>
<tr class="row0">
	<td width="20"></td>
	<td width="15%" valign="top"><span class="label">start-callback</span> </td>
	<td><p>Name of the function to call on the application loader when xml context treatment starts.<br>
	    <br>
	    <span class="label">Parameters :</span>
        	<table width="553" border="0" class="row0">
        	  <tr>
        	    <td width="25">&nbsp;</td>
        	    <td width="333"><code><span class="label">url</span>:String</code> - URL of loaded xml context file</td>
        	    <td width="181">&nbsp;</td>
      	    </tr>
        	  <tr>
        	    <td>&nbsp;</td>
        	    <td><code><span class="label">size</span>:uint</code> - Numbers of elements to load</td>
        	    <td>&nbsp;</td>
      	    </tr>
      	  </table>
    </td>
</tr>
<tr class="row1">
  <td></td>
  <td valign="top"><span class="label">name-callback</span> </td>
  <td>
  	Name of the function to call on the application loader when application state change<br>
    <br>
	    <span class="label">Parameters :</span>
        	<table width="553" border="0" class="row1">
        	  <tr>
        	    <td width="25">&nbsp;</td>
        	    <td width="333"><code><span class="label">state</span>:String</code> - Application state
                 <br>Possible states are :
                <dl>
                    <dt>PARSE
                    <dd>Engine parse the xml context file
                    
                    <dt>DLL
                    <dd>DLL section starts loading
                    
                    <dt>RSC
                    <dd>Resources section starts loading
                    
                    <dt>GFX
                    <dd>Display tree starts loading
                    
                    <dt>BUILD
                    <dd>Engine build objects, assign channels, and call method-call
                    
                    <dt>RUN
                    <dd>Loading, parsing, building are finished; application is ready.
                </dl>
                </td>
        	    <td width="181">&nbsp;</td>
      	  </table>
   
  </td>
</tr>
<tr class="row0">
  <td></td>
  <td valign="top"><span class="label">load-callback</span> </td>
  <td>Name of the function to call on the application loader when a new loading process start.<br/>
  <br>
	    <span class="label">Parameters :</span>
        	<table width="553" border="0" class="row0">
        	  <tr>
        	    <td width="25">&nbsp;</td>
        	    <td width="333"><code><span class="label">url</span>:String</code> - URL of current loaded element</td>
        	    <td width="181">&nbsp;</td>
              </tr>
      	  </table>
  </td>
</tr>
<tr class="row1">
	<td></td>
	<td valign="top"><span class="label">progress-callback</span> </td>
	<td>Name of the function to call on the application loader during each loading the process.<br />
    <br>
	    <span class="label">Parameters :</span>
        	<table width="553" border="0" class="row1">
        	  <tr>
        	    <td width="25">&nbsp;</td>
        	    <td width="333"><code><span class="label">url</span>:String</code> - URL of current loaded element</td>
        	    <td width="181">&nbsp;</td>
              </tr>
               <tr>
        	    <td width="25">&nbsp;</td>
        	    <td width="333"><code><span class="label">percent</span>:Number</code> - Loading progression</td>
        	    <td width="181">&nbsp;</td>
               </tr>
      	  </table>
    </td>
</tr>
<tr class="row0">
	<td></td>
	<td valign="top"><span class="label">timeout-callback</span> </td>
	<td>Name of the function to call on the application loader when a loading fail due
	to a timeout.
    <br>
	    <span class="label">Parameters :</span>
        	<table width="553" border="0" class="row0">
        	  <tr>
        	    <td width="25">&nbsp;</td>
        	    <td width="333"><code><span class="label">url</span>:String</code> - URL of current loaded element</td>
        	    <td width="181">&nbsp;</td>
              </tr>
      	  </table>
        </td>
</tr>
<tr class="row1">
	<td></td>
	<td valign="top"><span class="label">error-callback</span></td>
	<td>&nbsp;
    <br>
	    <span class="label">Parameters :</span>
        	<table width="553" border="0" class="row1">
        	  <tr>
        	    <td width="25">&nbsp;</td>
        	    <td width="333"><code><span class="label">url</span>:String</code> - URL of current loaded element</td>
        	    <td width="181">&nbsp;</td>
              </tr>
      	  </table>
        </td>
</tr>
<tr class="row0">
  <td></td>
  <td valign="top"><span class="label">init-callback</span></td>
  <td>Name of the function to call on the application loader when current loading element is complete.<br/><br/>
	    <span class="label">Parameters :</span>
        	<table width="553" border="0" class="row0">
        	  <tr>
        	    <td width="25">&nbsp;</td>
        	    <td width="333"><code><span class="label">url</span>:String</code> - URL of current loaded element</td>
        	    <td width="181">&nbsp;</td>
              </tr>
      	  </table>
        </td>
</tr>
<tr class="row1">
  <td></td>
  <td valign="top"><span class="label">parsed-callback</span></td>
  <td>Name of the function to call on the application loader when all xml content is parsed.</td>
</tr>
<tr class="row0">
  <td></td>
  <td valign="top"><span class="label">objects-built-callback</span></td>
  <td>Name of the function to call on the application loader when all objects are built</td>
</tr>
<tr class="row1">
  <td></td>
  <td valign="top"><span class="label">channels-assigned-callback</span></td>
  <td>Name of the function to call on the application loader when all communication channels are initialized</td>
</tr>
<tr class="row0">
  <td></td>
  <td valign="top"><span class="label">methods-callback</span></td>
  <td>Name of the function to call on the application loader when all 'method-call' are called</td>
</tr>
<tr class="row1">
  <td></td>
  <td valign="top"><span class="label">complete-callback</span></td>
  <td>Name of the function to call on the application loader when IoC process is finished</td>
</tr>
</tbody>
</table>
</p>

<!--
	<argument>
-->
<a name="argument"></a>
<div class="detailSectionHeader">&lt;argument&gt;</div>
<p></p>

<p>
Creates a new argument for a function call or a class constructor.
An argument could be a simple value or a reference to another entity
defined in the assembler context file. 
</p>

<span class="label">Context</span>
<p>
	<a href="#custom">&lt;%custom%&gt;</a>,
	<a href="#method-call">&lt;method-call&gt;</a>
	
  <p>
		When used directly inside a <code>&lt;%custom%&gt;</code> node, arguments are
		passed to the constructor of the class specified in <code>@type</code>.
  </p>
</p>

<span class="label">Children</span>
<p>
	No
</p>

<span class="label">Cardinality</span>
<p>
	0 - *
</p>

<span class="label">Attributes</span>
<p>
<table border="0" cellpadding="2" cellspacing="0" width="100%"><tbody>
<tr class="row0">
	<td width="20"></a></td>
	<td width="15%"><span class="label">ref</span></td>
	<td>The <code>@id</code> of an entity in the assembler context file.
	When setting <code>@ref</code>, the assembler will ignore all other
	attributes.
	<p>There is a custom feature concerning the syntax of the <code>@ref</code> content,
	if the <code>@ref</code> name is prefixed with <code>flashvars:</code> the
	returned entity is retreived from the variables passed to the assembler in 
	<code>flashvars</code> options (or url variables).</p></td>
</tr>
<tr class="row1">
	<td width="20"></td>
	<td width="15%"><span class="label">type</span></td>
	<td>The type of the value contained in this <code>&lt;argument&gt;</code>.
	If omitted the value is casted to <code>String</code>.</td>
</tr>
<tr class="row0">
	<td width="20"></a></td>
	<td width="15%"><span class="label">value</span></td>
	<td>The value of this <code>&lt;argument&gt;</code> node.</td>
</tr>
</tbody></table>
</p>

<!--
	<beans>
-->
<a name="beans"></a>
<div class="detailSectionHeader">&lt;beans&gt;</div>
<p></p>

<p>
	Required root node for the application context file (only one occurence).
The <code>&lt;beans&gt;</code> node contains the whole application context. 
Included context must also defines the <code>&lt;beans&gt;</code> root node.
</p>
<p>
	Note : <code>&lt;beans&gt;</code> node doesn't accept any attributes.
</p>

<span class="label">Context</span>
<p>
	XML file root node
</p>

<span class="label">Children</span>
<p>
	<a href="#application-loader">&lt;application-loader&gt;</a>,
	<a href="#custom">&lt;%custom%&gt;</a>,
	<a href="#dll">&lt;dll&gt;</a>,
    <a href="#rsc">&lt;rsc&gt;</a>,
	<a href="#include">&lt;include&gt;</a>,
	<a href="#root">&lt;root&gt;</a>
	
  <p>There is no restriction in the order of the children, order of node execution
	is defined by the assembler while parsing is completed : 
  <ol>
		 <li><code>&lt;application-loader&gt;</code> is created (if set)</li>
		 <li><code>&lt;include&gt;</code> nodes are loaded</li>
		 <li><code>&lt;dll&gt;</code> nodes are loaded</li>
		 <li><code>&lt;rsc&gt;</code> resources are loaded</li>
		 <li><code>&lt;root&gt;</code> children are loaded or created and added on the stage</li>
		 <li><code>&lt;%custom%&gt;</code> children of the <code>&lt;beans&gt;</code>
			are created</li>
		 <li><code>&lt;method-call&gt;</code> nodes are processed for each entity</li>
  </ol>
	
	</p>	
</p>

<span class="label">Cardinality</span>
<p>
	1 for each context file
</p>

<span class="label">Attributes</span>
<p>
	No
</p>


<!--
	<%custom%>
-->
<a name="custom"></a>
<div class="detailSectionHeader">&lt;%custom%&gt;</div>
<p></p>

<p>
	The node name has no meaning in this case, it creates
an new entity of the specified <code>@type</code> and
identified with the specified <code>@id</code>. When
child of the <code>&lt;root&gt;</code> node it will
be considered as part of the display list, nested
<code>&lt;%custom%&gt;</code> children are also allowed. 
</p>

<span class="label">Context</span>
<p>
	<a href="#beans">&lt;beans&gt;</a>,
	<a href="#custom">&lt;%custom%&gt;</a>,
	<a href="#root">&lt;root&gt;</a>
	
  <p>
		For details on nested <code>&lt;%custom%&gt;</code> see the 
		<strong>Children</strong> part.
  </p>
</p>

<span class="label">Children</span>
<p>
	<a href="#argument">&lt;argument&gt;</a>, 
	<a href="#custom">&lt;%custom%&gt;</a>,
	<a href="#item">&lt;item&gt;</a>,  
	<a href="#listen">&lt;listen&gt;</a>, 
	<a href="#method-call">&lt;method-call&gt;</a>, 
	<a href="#property">&lt;property&gt;</a>
	
  <p>
		<code>&lt;%custom%&gt;</code> nodes can be nested only when they
		are children of the <code>&lt;root&gt;</code> node. In that context
		each child will be added to the display list as a child of their
		parent node.
  </p>
</p>

<span class="label">Cardinality</span>
<p>
	0 - *
</p>

<span class="label">Attributes</span>
<p>
<table border="0" cellpadding="2" cellspacing="0" width="100%"><tbody>
<tr class="row0">
	<td width="20"></a></td>
	<td width="15%"><span class="label">deserializer-class</span></td>
	<td>When <code>@type</code> is <code>XML</code> only. Defines
	the concret deserializer class to use for parse the node content.
	The <code>@deserializer-class</code> must implements the 
	<code>Deserializer</code> interface of the <code>com.bourre.encoding</code>
	package.</td>
</tr>
<tr class="row1">
	<td width="20"></a></td>
	<td width="15%"><span class="label">factory</span></td>
	<td>Defines the factory method to call when creating the object defined
	by this <code>&lt;%custom%&gt;</code> node. The <code>@factory</code>
	attribute is optional, when omitted, the object is created using the
	classical <code>new</code> construct.</td>
</tr>
<tr class="row0">
	<td width="20"></a></td>
	<td width="15%" valign="top"><span class="label">id</span></td>
	<td>Defines the identifier of this node in the beans 
	namespace. You can use the <code>@id</code> of the
	object in all nodes which provide a <code>@ref</code>,
	it will	return a reference to the object identified
	by <code>@id</code>. More formally if you create an
	object such :
	<div class="listing"><pre>&lt;plugin id="somePlugin" type="MyPluginClass"/&gt;</pre></div>
	<p>
		You can get a reference to <code>#somePlugin</code> such :
	</p>
	<div class="listing"><pre>&lt;argument ref="somePlugin"/&gt;</pre></div>
	</td>
</tr>
<tr class="row1">
	<td width="20"></a></td>
	<td width="15%" valign="top"><span class="label">singleton-access</span></td>
	<td>Defines the name of the function which return the
	singleton instance of a class. Used when <code>@factory</code>
	is defined. If set the creation of the object will correspond to :
	<div class="listing"><pre>MyClass.singletonAccess().factoryMethod( arguments );</pre></div></td>
</tr>
<tr class="row0">
	<td width="20"></a></td>
	<td width="15%"><span class="label">type</span></td>
	<td>Classpath which defines the type of the entity. The specified class must exist
	in the assembler <code>applicationDomain</code>.</td>
</tr>
<tr class="row1">
	<td width="20"></a></td>
	<td width="15%"><span class="label">url</span></td>
	<td>When the current <code>&lt;%custom%&gt;</code> is a child of the
	<code>&lt;root&gt;</code> node, the <code>@url</code> will represent 
	a swf file to load in place of the node. The <code>@url</code> content
	must be a valid *.swf file.</td>
</tr>
<tr class="row0">
	<td width="20"></a></td>
	<td width="15%"><span class="label">value</span></td>
	<td>The <code>@value</code> is used only when the <code>@type</code>
	point to a primitive type, such <code>Number</code>, <code>int</code>, 
	<code>uint</code>, <code>String</code> or <code>Boolean</code>.</td>
</tr>
</tbody></table>
</p>

<!--
	<dll>
-->
<a name="dll"></a>
<div class="detailSectionHeader">&lt;dll&gt;</div>
<p></p>

<p>
  	 Loads the specified *.swf file as a Dynamically Loaded Library (dll).
All dlls files are loaded in the same <code>ApplicationDomain</code> object.
More formally, the <code>&lt;dll&gt;</code> behave as the <code>import</code>
statement, it allow developers to includes classes compiled in a swf file in
the current assembler, and then instanciate them later.
</p>

<span class="label">Context</span>
<p>
	<a href="#beans">&lt;beans&gt;</a>
</p>

<span class="label">Children</span>
<p>
	No
</p>

<span class="label">Cardinality</span>
<p>
	0 - *
</p>

<span class="label">Attributes</span>
<p>
<table border="0" cellpadding="2" cellspacing="0" width="100%"><tbody>
<tr class="row0">
	<td width="20"></a></td>
	<td width="15%"><span class="label">url</span></td>
	<td>URL of the *.swf file to load.</td>
</tr>
</tbody></table>
</p>

<!--
	<rsc>
-->
<a name="rsc"></a>
<div class="detailSectionHeader">&lt;rsc&gt;</div>
<p></p>

<p>
  	 Loads the specified *.swf file as a Dynamically Loaded Library (dll).
All dlls files are loaded in the same <code>ApplicationDomain</code> object.
More formally, the <code>&lt;dll&gt;</code> behave as the <code>import</code>
statement, it allow developers to includes classes compiled in a swf file in
the current assembler, and then instanciate them later.
</p>

<span class="label">Context</span>
<p>
	<a href="#beans">&lt;beans&gt;</a>
</p>

<span class="label">Children</span>
<p>
	No
</p>

<span class="label">Cardinality</span>
<p>
	0 - *
</p>

<span class="label">Attributes</span>
<p>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
  <tbody>
    <tr class="row0">
      <td width="20">&nbsp;</td>
      <td><span class="label">id</span></td>
      <td>Defines the identifier of this node in the beans 
        namespace. </td>
    </tr>
    <tr class="row1">
      <td width="15"></a></td>
      <td width="286"><span class="label">url</span></td>
      <td>URL of the *.swf file to load.</td>
    </tr>
    <tr class="row0">
      <td>&nbsp;</td>
      <td valign="top"><span class="label">type</span></td>
      <td>'text' or 'binary' to define content format. ( default is 'text' ).</td>
      <td>    
    </tr>
    <tr class="row1">
      <td>&nbsp;</td>
      <td valign="top"><span class="label">deserializer-class</span></td>
      <td>Defines
        the concret deserializer class to use for parsing the node content.<br />
        The <code>@deserializer-class</code> must implements the <code>Deserializer</code> interface of the <code>com.bourre.encoding</code> package.<br />
        <br/>
        Class must be contained in current application context; use <a href="#dll">&lt;dll&gt;</a> node to load the class.</td>
      </td>
    </tr>
  </tbody>
</table>
</p>

<!--
	<include>
-->
<a name="include"></a>
<div class="detailSectionHeader">&lt;include&gt;</div>
<p></p>

<p>
  	Loads a context file and add its content to the current application context.
Included context files must defines a <code>&lt;beans&gt;</code> node.
	When including a context file which also define a <code>&lt;root&gt;</code>
node, the <code>&lt;include&gt;</code> may define <code>@root-ref</code> to prevent
conflicts with the parent file <code>&lt;root&gt;</code> node.
</p>

<span class="label">Context</span>
<p>
	<a href="#beans">&lt;beans&gt;</a>
</p>

<span class="label">Children</span>
<p>
	No
</p>

<span class="label">Cardinality</span>
<p>
	0 - *
</p>

<span class="label">Attributes</span>
<p>
<table border="0" cellpadding="2" cellspacing="0" width="100%"><tbody>
<tr class="row0">
	<td width="20"></a></td>
	<td width="15%"><span class="label">url</span></td>
	<td>URL of the *.xml context file to load.</td>
</tr>
<tr class="row1">
	<td width="20"></a></td>
	<td width="15%"><span class="label">root-ref</span></td>
	<td>An entity of the parent assembler context file which will be the
	display object used to represent the <code>&lt;root&gt;</code> node
	of the included file.</td>
</tr>
</tbody></table>
</p>

<!--
	<item>
-->
<a name="item"></a>
<div class="detailSectionHeader">&lt;item&gt;</div>
<p></p>

<p>
Defines an entry in a <code>Dictionary</code>. The <code>&lt;item&gt;</code> node
don't accept any attributes, but require two child : 
</p>
<ul>
	<li>One occurence of a <code>&lt;key&gt;</code> node</li>
	<li>One occurence of a <code>&lt;value&gt;</code> node</li>
</ul>

<span class="label">Context</span>
<p>
	<a href="#custom">&lt;%custom% type="Dictionary"&gt;</a>
  <p>
		The <code>&lt;item&gt;</code> node is only available for <code>&lt;%custom%&gt;</code>
		nodes whose <code>@type</code> is <code>Dictionary</code>.
  </p>	
</p>

<span class="label">Children</span>
<p>
	<a href="#key">&lt;key&gt;</a>, <a href="#key">&lt;value&gt;</a>
  <p></p>
</p>

<span class="label">Cardinality</span>
<p>
	0 - *
</p>

<span class="label">Attributes</span>
<p>
	No
</p>
<!--
	<key>
-->
<a name="key"></a>
<div class="detailSectionHeader">&lt;key&gt;</div>
<p></p>

<p>
	Defines the key of the <code>&lt;item&gt;</code> parent note.
</p>

<span class="label">Context</span>
<p>
	<a href="#item">&lt;item&gt;</a>
</p>

<span class="label">Children</span>
<p>
	No
</p>

<span class="label">Cardinality</span>
<p>
	1 for each <code>&lt;item&gt;</code>
</p>

<span class="label">Attributes</span>
<p>
<table border="0" cellpadding="2" cellspacing="0" width="100%"><tbody>
<tr class="row0">
	<td width="20"></a></td>
	<td width="15%"><span class="label">ref</span></td>
	<td>The <code>@id</code> of an entity in the assembler context file.
	When setting <code>@ref</code>, the assembler will ignore all other
	attributes.
	<p>There is a custom feature concerning the syntax of the <code>@ref</code> content,
	if the <code>@ref</code> name is prefixed with <code>flashvars:</code> the
	returned entity is retreived from the variables passed to the assembler in 
	<code>flashvars</code> options (or url variables).</p></td>
</tr>
<tr class="row1">
	<td width="20"></td>
	<td width="15%"><span class="label">type</span></td>
	<td>The type of the value contained in this <code>&lt;key&gt;</code>.
	If omitted the value is casted to <code>String</code>.</td>
</tr>
<tr class="row0">
	<td width="20"></a></td>
	<td width="15%"><span class="label">value</span></td>
	<td>The value of this <code>&lt;key&gt;</code> node.</td>
</tr>
</tbody></table>
</p>

<!--
	<listen>
-->
<a name="listen"></a>
<div class="detailSectionHeader">&lt;listen&gt;</div>
<p></p>

<p>
	Sets the <code>&lt;%custom%&gt;</code> parent node listening
to the specified <code>@ref</code>. 
</p>

<span class="label">Context</span>
<p>
	<a href="#custom">&lt;%custom%&gt;</a>
</p>

<span class="label">Children</span>
<p>
	No
</p>

<span class="label">Cardinality</span>
<p>
	0 - 1 for each <code>&lt;%custom%&gt;</code>
</p>

<span class="label">Attributes</span>
<p>
<table border="0" cellpadding="2" cellspacing="0" width="100%"><tbody>
<tr class="row0">
	<td width="20"></a></td>
	<td width="15%"><span class="label">id</span></td>
	<td>The <code>@id</code> of an entity in the assembler context file.</td>
</tr>
</tbody></table>
</p>

<!--
	<method-call>
-->
<a name="method-call"></a>
<div class="detailSectionHeader">&lt;method-call&gt;</div>
<p></p>

<p>
	Calls a method of the <code>&lt;%custom%&gt;</code>
parent node. The method must be a member of the instance
and not a member of the class.
</p>

<span class="label">Context</span>
<p>
	<a href="#custom">&lt;%custom%&gt;</a>
</p>

<span class="label">Children</span>
<p>
	<a href="#argument">&lt;argument&gt;</a>
</p>

<span class="label">Cardinality</span>
<p>
	0 - *
</p>

<span class="label">Attributes</span>
<p>
<table border="0" cellpadding="2" cellspacing="0" width="100%"><tbody>
<tr class="row0">
	<td width="20"></a></td>
	<td width="15%"><span class="label">delay</span></td>
	<td>Delay the call of the method with the amount of the attribute
	value in milliseconds.</td>
</tr>
<tr class="row1">
	<td width="20"></a></td>
	<td width="15%"><span class="label">name</span></td>
	<td>The name of the method to call on the parent object.</td>
</tr>
</tbody></table>
</p>


<!--
	<processor>
-->
<a name="preprocessor"></a>
<div class="detailSectionHeader">&lt;preprocessor&gt;</div>
<p></p>

<p>Defines an IoC context pre processor.</p>

<span class="label">Context</span>
<p>
	<a href="#beans">&lt;beans&gt;</a>
<p><span class="label">Children</span></p>
<p>
	<a href="#argument">&lt;argument&gt;</a>
<p><span class="label">Cardinality</span></p>
<p>
	0 - *
</p>

<span class="label">Attributes</span>
<p>
<table border="0" cellpadding="2" cellspacing="0" width="100%"><tbody>
<tr class="row0">
  <td width="20"></a></td>
  <td width="15%"><span class="label">factory</span></td>
  <td>Defines the factory method to call when creating the object defined
    by this <code>&lt;preprocessor&gt;</code> node. <br>
    The <code>@factory</code>
    attribute is optional, when omitted, the object is created using the
    classical <code>new</code> construct.</td>
</tr>
<tr class="row1">
  <td width="20"></a></td>
  <td width="15%" valign="top"><span class="label">singleton-access</span></td>
  <td>Defines the name of the function which return the
    singleton instance of a class. Used when <code>@factory</code>
    is defined.</td>
</tr>
<tr class="row0">
	<td width="20"></a></td>
	<td width="15%"><span class="label">type</span></td>
	<td>Classpath which defines the type of the entity. The specified class must exist
	in the assembler <code>applicationDomain</code>.</td>
</tr>
<tr class="row1">
	<td width="20"></a></td>
	<td width="15%"><span class="label">url</span></td>
	<td>URL of the *.swf file to load to allow pre processing ( DLL rules )<br>
	  The <code>@url</code> content
	must be a valid *.swf file.</td>
</tr>
<tr class="row0">
	<td width="20"></a></td>
	<td width="15%"><span class="label">method</span></td>
	<td>The <code>@method</code> is used only when the <code>@type</code>
	point to a no ContextProcessor compliant processor.</td>
</tr>
</tbody></table>
</p>

<!--
	<property>
-->
<a name="property"></a>
<div class="detailSectionHeader">&lt;property&gt;</div>
<p></p>

<p>
	Sets the initial value of the specified property
of the <code>&lt;%custom%&gt;</code> parent node.
</p>

<span class="label">Context</span>
<p>
	<a href="#custom">&lt;%custom%&gt;</a>
</p>

<span class="label">Children</span>
<p>
	No
</p>

<span class="label">Cardinality</span>
<p>
	0 - *
</p>

<span class="label">Attributes</span>
<p>
<table border="0" cellpadding="2" cellspacing="0" width="100%"><tbody>
<tr class="row0">
	<td width="20"></a></td>
	<td width="15%"><span class="label">name</span></td>
	<td>The name of the property to set on the parent object.</td>
</tr>
<tr class="row0">
	<td width="20"></a></td>
	<td width="15%"><span class="label">ref</span></td>
	<td>The <code>@id</code> of an entity in the assembler context file.
	When setting <code>@ref</code>, the assembler will ignore all other
	attributes.
	<p>There is a custom feature concerning the syntax of the <code>@ref</code> content,
	if the <code>@ref</code> name is prefixed with <code>flashvars:</code> the
	returned entity is retreived from the variables passed to the assembler in 
	<code>flashvars</code> options (or url variables).</p></td>
</tr>
<tr class="row1">
	<td width="20"></td>
	<td width="15%"><span class="label">type</span></td>
	<td>The type of the value contained in this <code>&lt;property&gt;</code>.
	If omitted the value is casted to <code>String</code>.</td>
</tr>
<tr class="row0">
	<td width="20"></a></td>
	<td width="15%"><span class="label">value</span></td>
	<td>The value of this property.</td>
</tr>
</tbody></table>
</p>

<!--
	<root>
-->
<a name="root"></a>
<div class="detailSectionHeader">&lt;root&gt;</div>
<p></p>

<p>
	Defines the root node for the graphics structures (only one occurence).
All children of the <code>&lt;root&gt;</code> node will be considered
as part of the display list.
	When dealing with multiple context files, each included context which
also define a <code>&lt;root&gt;</code> will be included with the <code>@root-ref</code>
attribute defined.
</p>

<span class="label">Context</span>
<p>
	<a href="#beans">&lt;beans&gt;</a>
</p>

<span class="label">Children</span>
<p>
	<a href="#custom">&lt;%custom%&gt;</a>
</p>

<span class="label">Cardinality</span>
<p>
	0 - 1
</p>

<span class="label">Attributes</span>
<p>
	No
</p>

<!--
	<value>
-->
<a name="value"></a>
<div class="detailSectionHeader">&lt;value&gt;</div>
<p></p>

<p>
	Defines the value of the <code>&lt;item&gt;</code> parent note.
</p>

<span class="label">Context</span>
<p>
	<a href="#item">&lt;item&gt;</a>
</p>

<span class="label">Children</span>
<p>
	No
</p>

<span class="label">Cardinality</span>
<p>
	1 for each <code>&lt;item&gt;</code>
</p>

<span class="label">Attributes</span>
<p>
<table border="0" cellpadding="2" cellspacing="0" width="100%"><tbody>
<tr class="row0">
	<td width="20"></a></td>
	<td width="15%"><span class="label">ref</span></td>
	<td>The <code>@id</code> of an entity in the assembler context file.
	When setting <code>@ref</code>, the assembler will ignore all other
	attributes.
	<p>There is a custom feature concerning the syntax of the <code>@ref</code> content,
	if the <code>@ref</code> name is prefixed with <code>flashvars:</code> the
	returned entity is retreived from the variables passed to the assembler in 
	<code>flashvars</code> options (or url variables).</p></td>
</tr>
<tr class="row1">
	<td width="20"></td>
	<td width="15%"><span class="label">type</span></td>
	<td>The type of the value contained in this <code>&lt;value&gt;</code>.
	If omitted the value is casted to <code>String</code>.</td>
</tr>
<tr class="row0">
	<td width="20"></a></td>
	<td width="15%"><span class="label">value</span></td>
	<td>The value of this <code>&lt;value&gt;</code> node.</td>
</tr>
</tbody></table>
</p>


<!--*****************************************************************************
		Example
*****************************************************************************-->

<hr/>

<a name="examples"></a>
<h1>Examples</h1>

<p>
	Below a concret example of a context file which use the whole features set
	of the LowRA assembler.
</p>

<div class="listing">
  <pre class="prettyprint">
&lt;?xml version="1.0"?&gt;
&lt;!DOCTYPE beans SYSTEM "http://lowra.googlecode.com/svn/trunk/tools/assembler.dtd"&gt;

&lt;beans&gt;

	&lt;!-- 	You can insert here all the compiled classes you need 
			to make your application working. --&gt;

	&lt;dll url="dll/FakePluginListenerDLL2.swf"/&gt;	
	
    
    &lt;!-- 	You can insert here all the resources files you need 
			to make your application working. --&gt;

    &lt;rsc id=&quot;info&quot; url="resource/readme.txt" /&gt;
    &lt;rsc id=&quot;css&quot; url="resource/style.css" deserializer-class=&quot;com.bourre.encoding.CSSDesrializer&quot; /&gt;	


	&lt;!-- That's your application loader config (if you need one) --&gt;

	&lt;!--&lt;application-loader url="swf/loader.swf" 
						progress-callback="onProgress" 
						complete-callback="onBuild"/&gt;--&gt;



	&lt;!-- 	That's the visual tree of your application. 
			If you need a graphical structure, root node is mandatory. --&gt;

	&lt;root&gt;

		&lt;container id="container"&gt;
			
			&lt;property name="x" type="int" value="50"/&gt;
			&lt;property name="y" type="int" value="50"/&gt;

			&lt;swf id="background" url="swf/background.swf" visible="false"/&gt;

			&lt;swf id="coffee" url="swf/coffee.jpg"&gt;
				&lt;property name="x" type="int" value="100"/&gt;
				&lt;property name="y" type="int" value="100"/&gt;
				&lt;property name="alpha" type="Number" value="0.1"/&gt;
			&lt;/swf&gt;
			
			&lt;txt id="txt" type="flash.text.TextField"&gt;
				&lt;property name="text" value="Hello world!"/&gt;
				&lt;property name="y" type="int" value="250"/&gt;
				&lt;property name="autoSize" value="center"/&gt;
				
				&lt;method-call name="setTextFormat"&gt;
					&lt;argument ref="tf"/&gt;
				&lt;/method-call&gt;
			&lt;/txt&gt;
			
			&lt;square id="square" type="com.prizee.ui.Square"&gt;
				&lt;property name="alpha" type="Number" value="0.5"/&gt;
				&lt;property name="x" type="int" value="150"/&gt;
			&lt;/square&gt;

		&lt;/container&gt;

	&lt;/root&gt;



	&lt;!--	Objects instanciation begins here.
			Methods call happen when all objects have been built. --&gt;

	&lt;tf id="tf" type="flash.text.TextFormat"&gt;
		&lt;argument type="" value="Arial"/&gt;
		&lt;argument type="Number" value="30"/&gt;
		&lt;argument type="Number" value="0XFF"/&gt;
	&lt;/tf&gt;



	&lt;array id="collection" type="Array"&gt;
		&lt;argument ref="dimensionClass"/&gt;
		&lt;argument method="range1.clone"/&gt;
		&lt;argument ref="obj"/&gt;
		&lt;argument ref="config"/&gt;
		&lt;argument ref="coffee"/&gt;
	&lt;/array&gt;



	&lt;dll url="dll/RangeDLL.swf"/&gt;

	&lt;range id="range1" type="com.bourre.structures.Range"&gt;
		&lt;argument ref="min"/&gt;
		&lt;argument type="Number" value="5"/&gt;
	&lt;/range&gt;

	&lt;range id="range2" type="com.bourre.structures.Range"&gt;
		&lt;argument type="Number" value="5"/&gt;
		&lt;argument ref="max"/&gt;
	&lt;/range&gt;



	&lt;dll url="dll/DimensionDLL.swf"/&gt;

	&lt;dimension id="dimension1" type="com.bourre.structures.Dimension"&gt;
		&lt;argument type="Number" value="800"/&gt;
		&lt;argument type="Number" value="600"/&gt;
	&lt;/dimension&gt;

	&lt;dimension id="dimension2" type="com.bourre.structures.Dimension"&gt;
		&lt;argument type="Number" value="1024"/&gt;
		&lt;argument type="Number" value="768"/&gt;
		
		&lt;method-call name="setSize"&gt;
			&lt;argument ref="dimension1"/&gt;
		&lt;/method-call&gt;
	&lt;/dimension&gt;



	&lt;dll url="dll/FakePluginDLL.swf"/&gt;

	&lt;fake id="fake" type="FakePlugin"&gt;
		&lt;argument value="Hello world!"/&gt;
		&lt;argument ref="background"/&gt;
		
		&lt;method-call name="testPlugin"/&gt;
	&lt;/fake&gt;



	&lt;min id="min" type="Number" value="1"/&gt;
	&lt;max id="max" type="Number" value="10"/&gt;



	&lt;dll url="dll/FakePluginListenerDLL.swf"/&gt;

	&lt;fake id="fakeListener" type="com.prizee.plugin.FakePluginListener"&gt;
		&lt;argument ref="dimension1"/&gt;

		&lt;listen ref="fake" /&gt;
	&lt;/fake&gt;



	&lt;dictionary id="dictionary" type="Dictionary"&gt;
		&lt;item&gt; &lt;key ref="dimension2"/&gt; &lt;value ref="dimension1"/&gt; &lt;/item&gt;
		&lt;item&gt; &lt;key ref="dimension1"/&gt; &lt;value ref="dimension2"/&gt; &lt;/item&gt;
		&lt;item&gt; &lt;key type="Number" value="13"/&gt; &lt;value type="Class" value="com.bourre.structures.Dimension"/&gt; &lt;/item&gt;
	&lt;/dictionary&gt;



	&lt;class id="dimensionClass" type="Class"&gt;
		&lt;argument value="com.bourre.structures.Dimension"/&gt;
	&lt;/class&gt;



	&lt;dll url="dll/UIDLL.swf"/&gt;

	&lt;dictionary id="displayObjectDictionary" type="Dictionary"&gt;
		&lt;item&gt; &lt;key value="com.prizee.ui.Square"/&gt; &lt;value type="Class" value="com.prizee.ui.Square"/&gt; &lt;/item&gt;
	&lt;/dictionary&gt;



	&lt;dictionary id="dico" type="Dictionary"&gt;
		&lt;item&gt; &lt;key value="o"/&gt; &lt;value ref="obj"/&gt; &lt;/item&gt;
	&lt;/dictionary&gt;



	&lt;dll url="dll/TypedFactoryLocatorDLL.swf"/&gt;

	&lt;factory id="displayOjectFactory" type="com.bourre.core.TypedFactoryLocator"&gt;
		&lt;argument type="Class" value="flash.display.MovieClip"/&gt;
		&lt;method-call name="add"&gt;&lt;argument ref="displayObjectDictionary"/&gt;&lt;/method-call&gt;
	&lt;/factory&gt;



	&lt;dll url="dll/XMLToObjectDeserializerDLL.swf"/&gt;

	&lt;xml id="config" type="XML" deserializer-class="com.bourre.encoding.XMLToObjectDeserializer"&gt;
		&lt;root&gt;
			&lt;node&gt;1&lt;/node&gt;
			&lt;node&gt;2&lt;/node&gt;
			&lt;node&gt;
				&lt;childNode&gt;childNodeValue&lt;/childNode&gt;
			&lt;/node&gt;
			&lt;node&gt;4&lt;/node&gt;
		&lt;/root&gt;
	&lt;/xml&gt;



	&lt;object id="obj" type="Object"&gt;
		&lt;property name="p1" value="hello1"/&gt;
		&lt;property name="p2" value="hello2"/&gt;
	&lt;/object&gt;



&lt;/beans&gt;	
</pre></div>

<!--*****************************************************************************
		 End File
*****************************************************************************-->

	
    
     	<div class="feedbackLink">
            <p>&nbsp;</p>
            <center>
            <a target="_blank" href="http://code.google.com/p/lowra/issues/entry">Submit Feedback</a>
            </center>
            </div>
            <center class="copyright">LowRA API documentation 2008- 2009<br>Licensed under the MOZILLA PUBLIC LICENSE, Version 1.1</center>
        </div>
	</body>
</html>